package com.atzxh.collection.list;

import java.util.LinkedList;

/**
 * @author 小红同学
 * @create 2022-10-13-10:36
 * @description
 */
@SuppressWarnings({"all"})
public class LinkedList_Method {
    public static void main(String[] args) {

        LinkedList linkedList = new LinkedList();

        linkedList.add(1);
        linkedList.add(2);
        linkedList.add(3);
        System.out.println(linkedList);

        //  默认删除第一个
        linkedList.removeFirst();
        System.out.println(linkedList);


    }
}
